<h1><?php  __('Edit') ?></h1>
<fieldset>
	<legend><?php __('Personal user information') ?></legend>
	<form action="edit" enctype="multipart/form-data" method="post" accept-charset="utf-8">
	<?php
		echo $form->hidden('User.id');
		if ($image != '') {
			echo $html->image($image, array('border'=>"0", 'width' => '90', 'height' => '90'));
			echo '<br/>';
		}
		echo "Photo ".$form->file('User.file');
		echo $form->input('User.firstname', __('First Name', true));
		echo $form->input('User.lastname', __('Last Name', true));
		echo $form->input('User.mail', __('mail', true));
		echo $form->input('User.phone', __('phone', true));
		echo $form->input('User.mobile', __('mobile', true));
?><br/><?php
		echo $form->input('User.password', array('label' => __('password', true), 'value' => ""));
		echo $form->input('User.password_confirmation', array('label', __('password confirmation', true), 'type' => 'password' , 'value' => ''));
		?><label></label><?php
		echo $form->submit(__('Submit', true), array('label'=> ''));
	?>
</fieldset>
</form>